#ifndef _CAMER_THREAD_H_
#define _CAMER_THREAD_H_
#include "camera.h"
#include "osa.h"

extern char is_cameraopen;
extern int photo;					                        //1=拍照状态,0=非拍照状态：	定义在camera_thread.c
extern int video_freeze_state;                              //1=冻结状态,0=非冻结状态: 	定义在platform.c
extern int record;                                          //1=录像状态,0=非录像状态: 	定义在platform.c
extern int nosignal;                                        //1=无信号状态,0=有信号状态: 定义在platform.c
extern int MWB_State;                                       //1=白平衡状态,0=非白平衡状态;  定义在platform.c

void camera_init();
void camera_save_photo_slot(char * path);
void camera_save_video_slot(char * path);
void camera_displayChange(int hdmi);
void camera_video_freezz_frame(int state);
void camera_showpicfSet_status(char i);
void camera_deinit(void);
void * camera_run(void *pArgs);

#endif
